package Dao;

import domain.Student;

import java.sql.SQLException;
import java.util.List;


public interface IDao {
    List<Student> list(Student student)  throws SQLException;

    void addStudent(Student student) throws SQLException;
    void updateStudent(Student student) throws SQLException;
    void deleteStudent(int id) throws SQLException;
}
